import React, { Component } from 'react';
import './style.css';

class NavBa2 extends Component {
  render() {
    const { left, center, right } = this.props
    return (
      <div className="nav-bar">
        <div className="nav-item nav-left">{left}</div>
        <div className="nav-item nav-center">{center}</div>
        <div className="nav-item nav-right">{right}</div>
      </div>
    );
  }
}

export default NavBa2;